package com.lin.dao;

import java.sql.Connection;
import java.util.List;

import com.lin.vo.Book;
import com.lin.vo.Order;
import com.lin.vo.OrderItem;
import com.lin.vo.User;


public interface IOrderDao {

	void save(Connection connection, Order order);

	void save(Connection connection, OrderItem orderItem);

	List<Order> findByUid(User user);

	Order findByOid(String oId);

	void updateOrder(Order order);

	List<Order> findByAllOrders();

	List<Order> findByAllOrders(int state);
}
